<?php
	$user                           = new model_user();
	$pager                          = new libraries_pager();
	$data                           = array();
	$data['title']                  = "Danh sách tài khoản";
	$data['template']               = "user/list_user";
	$data['act']                    = 0;
	$limit                          = 20;
	$pager->set_link("index.php?mod=user&act=list");
	$total                          = $user->total_user();
	$start                          = $pager->start();
	$pages                          = $pager->page($total,$limit);
	$data['pagelist']               = $pager->listpage($pages,$start,$limit);
	$data['list']                   = $user->list_user($start,$limit);
	//debug($data['list']);
	loadview("layout",$data);
